﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Classes
{
    [DataContract(IsReference = true)]
    public class TelephonePost
    {
        #region Properties
        [DataMember]
        public TelephoneNumber TelephoneNumber
        {
            get;
            set;
        }

        #endregion

        public TelephonePost(string aTelephoneNumber)
        {
            TelephoneNumber = new TelephoneNumber(aTelephoneNumber);
        }

        private TelephonePost() { }
    }
}
